package edu.neumont.csc380.esp.entities;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlElement;

/**
 * An RSA_Key consists of a public key and a private key
 * @author jdaniel
 *
 */

@XmlRootElement()
public class RSA_Key {
	private Key publicKey;
	private Key privateKey;
	
	public RSA_Key(){
		
	}
	public RSA_Key(Key publicKey, Key privateKey){
		this.publicKey = publicKey;
		this.privateKey = privateKey;
	}
	@XmlElement(name="Public Key")
	public Key getPublicKey() {
		return publicKey;
	}
	@XmlElement(name="Private Key")
	public Key getPrivateKey() {
		return privateKey;
	}
	public void setPublicKey(Key publicKey) {
		this.publicKey = publicKey;
	}
	public void setPrivateKey(Key privateKey) {
		this.privateKey = privateKey;
	}
	
	
}
